package com.jiyun.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jiyun.pojo.DcDriver;
import com.jiyun.pojo.DcOrder;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.math.BigDecimal;
import java.util.List;

@Mapper
public interface OrderMapper extends BaseMapper<DcOrder> {
    @Select("select * from dc_order where status=#{status}")
    List<DcOrder> getStatusFind(Integer status);


    Integer jiedanNum(Integer id);


    BigDecimal liushuimoney(Integer id);

    BigDecimal yunyingshichang(Integer id);
}
